/**
 * Copyright (C) 2011 dan.zheng <cmaj135@gmail.com>
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.krosa.net.http.entity;


/**
 * @author dan.zheng Email:cmaj135@gmail.com
 * @version
 * <p>
 * create date: Jun 28, 2011 2:09:37 PM
 * </p>
 */
public class Response {
    /**
     * <p>
     * the charset of the visit page,sometimes we will use regex to guess it if
     * the charset can't get by programe.
     * </p>
     */
    private String charSet;
    /**
     * <p>
     * the content of visit page.
     * </p>
     */
    private String content;

    /**
     * <p>
     * the time cost of connect to server.
     * </p>
     */
    private long connServerTime;

    /**
     * <p>
     * the time cost of server response.
     * </p>
     */
    private long serverResponseTime;

    /**
     * <p>
     * the content download speed KB/S.
     * </p>
     */
    private Double downSpeed;

    public String getCharSet() {
        return charSet;
    }

    public void setCharSet(String charSet) {
        this.charSet = charSet;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getConnServerTime() {
        return connServerTime;
    }

    public void setConnServerTime(long connServerTime) {
        this.connServerTime = connServerTime;
    }

    public long getServerResponseTime() {
        return serverResponseTime;
    }

    public void setServerResponseTime(long serverResponseTime) {
        this.serverResponseTime = serverResponseTime;
    }

    public Double getDownSpeed() {
        return downSpeed;
    }

    public void setDownSpeed(Double downSpeed) {
        this.downSpeed = downSpeed;
    }
}
